package com.icss.struct.dto;

import lombok.Data;

import java.util.List;

@Data
public class R {
    private int code;
    private Object data;
    private String message;

    public static R success(List tlist) {
        R r = new R();
        r.setCode(20000);
        r.setMessage("success");
        r.setData(tlist);

        return r;
    }
}
